package com.hbnu.system.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("DZzxfunds")
public class DZzxfunds implements Serializable {

    /**
     * 主键 到账经费情况主键
     */
    @ApiModelProperty(value = "到账经费情况主键")
    @TableId(value = "DZfundsZxID", type = IdType.ASSIGN_ID)
    private String dzfundsID;



    /**
     * 到账日期
     */
    @ApiModelProperty(value = "到账日期")
    @TableField("DZfundsDate")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate dzfundsDate;

    /**
     * 到账金额（万元
     */
    @ApiModelProperty(value = "到账金额（万元")
    @TableField("DZfundsAmount")
    private String dzfundsAmount;

    /**
     * 经费来源
     */
    @ApiModelProperty(value = "经费来源")
    @TableField("FundsSours")
    private String fundsSours;

    /**
     * 到账编号
     */
    @ApiModelProperty(value = "到账编号")
    @TableField("DZfundsNum")
    private String dzfundsNum;

    /**
     * 横向id
     */
    @ApiModelProperty(value = "横向id")
    @TableField("pregistrationID")
    private String pregistrationID;

    /**
     * 上传时间
     */
    @ApiModelProperty(value = "上传时间")
    @TableField("UploadTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime uploadTime;
}
